@layout("/common/_form.html",{js:["/assets/modular/projectPublicity/mainInfo/mainInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="mainInfoForm" lay-filter="mainInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <input name="isDel" type="hidden"/>
                    <input name="createPerson" type="hidden"/>
                    <input name="createDate" type="hidden"/>
                    <input name="updatePerson" type="hidden"/>
                    <input name="updateDate" type="hidden"/>

                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">小区<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="rel_xq_id" id="relXqId" lay-filter="relXqId" style="cursor: not-allowed" lay-verify="required" required disabled>
                                <option value="">请选择小区</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <span>&nbsp;</span>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">维修项目<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="wxXm" name="wx_xm" placeholder="请输入维修项目" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <span>&nbsp;</span>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">特殊维修项目</label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="specialMaintenanceProject1" name="tswx_xm" value="1" title="电梯" lay-skin="primary">
                            <input type="checkbox" id="specialMaintenanceProject2" name="tswx_xm" value="2" title="消防" lay-skin="primary">
                            <input type="checkbox" id="specialMaintenanceProject3" name="tswx_xm" value="3" title="供水、供电、供气" lay-skin="primary">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <span>&nbsp;</span>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">工程预算<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="gcys" name="gcys" placeholder="请输入工程预算" type="text" class="layui-input" lay-verify="required number" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <div class="layui-form-mid layui-word-aux" style="margin-left: 5px">元</div>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">开始公示时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="startDate" name="start_date">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <span>&nbsp;</span>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">公示天数<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="showDay" name="show_day" placeholder="请输入公示天数" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <div class="layui-form-mid layui-word-aux" style="margin-left: 5px">天</div>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label" id="chooseUser" style="cursor: pointer">选择用户<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input placeholder="请点击左侧选择用户" id="userNumber" type="text" style="color: silver;cursor: not-allowed" class="layui-input" lay-verify="required" required disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <div class="layui-form-mid layui-word-aux" style="margin-left: 5px">户</div>
                    </div>
                    <div class="layui-inline layui-col-md5">
                        <label class="layui-form-label">分摊率<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ftl" name="ftl" placeholder="请输入分摊率" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md1">
                        <div class="layui-form-mid layui-word-aux" style="margin-left: 5px">%</div>
                    </div>
                    <div class="layui-inline layui-col-md11">
                        <label class="layui-form-label">施工方案<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="sgfa" name="sgfa" placeholder="请输入施工方案" type="text"
                                      class="layui-input" lay-verify="required" required
                            ></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md11">
                        <div class="preLook">
                            <button type="button" class="layui-btn" id="pictureUpload">点击上传图片</button>
                            <span style="color: silver">(最多上传9张图片)</span>
                            <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                                预览图：
                                <div class="layui-upload-list" id="preLookPicture"></div>
                            </blockquote>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>

<style>
    #sgfa {
        padding: 8px 10px;
        min-width: 100%;
        max-width: 100%;
        height: 233px;
    }

    .layui-form-label {
        width: 90px;
    }

    .layui-input-block {
        margin-left: 120px;
    }

    .preLook {
        margin-left: 120px;
    }
</style>

@}